<!DOCTYPE HTML>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta name="copyright" content=
  "Copyright (c) IBM Corporation and others 2000, 2018. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
  <meta charset="utf-8">
  <title>Text Editors</title>
  <script src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
  <link rel="STYLESHEET" href="../book.css" type="text/css" />
  <style>
    table.c3 {width: 100%;}
    td.c2 {vertical-align: top;}
    td.c1 {vertical-align: top; width: 25%;}
  </style>
</head>
<body>
  <h1 class="Head">Text Editors</h1>
  <p>The following preferences can be changed on the <a class="command-link" href=
  'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.GeneralTextEditor)")'>
  <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link" /> <strong>General &gt; Editors &gt;
  Text Editors</strong></a> preference page.</p>
  <h2>Appearance Options</h2>
  <table class="c3 border">
    <tbody>
      <tr>
        <th style="width:25%">
          <div class="Para">
            Option
          </div>
        </th>
        <th>
          <div class="Para">
            Description
          </div>
        </th>
        <th>
          <div class="Para">
            Default
          </div>
        </th>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Undo history size<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option allows you to set the size of the undo history for text editors.
          </div>
        </td>
        <td>
          <div class="Para">
            200
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Displayed tab width<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option allows you to set the displayed tab width for text editors.
          </div>
        </td>
        <td>
          <div class="Para">
            4
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Insert spaces for tabs<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option allows you to insert space characters in place of tab characters.
          </div>
        </td>
        <td>
          <div class="Para">
            Off
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Remove multiple spaces on backspace/delete<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option allows you to set whether hitting backspace or delete in text editors deletes only 1 space
            character (if <code>off</code>) or deletes as many space characters as defined in <em>Display tab
            width</em> (if <code>on</code>).
          </div>
        </td>
        <td>
          <div class="Para">
            Off
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Highlight current line<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option controls whether or the current line is highlighted or not.<br />
          </div>
        </td>
        <td>On<br /></td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Show print margin<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option controls whether the print margin is visible or not.
          </div>
        </td>
        <td>
          <div class="Para">
            Off
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Print margin column<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option allows you to set the print margin column position.
          </div>
        </td>
        <td>
          <div class="Para">
            80
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Allow editors to override the margin column<br />
          </div>
        </td>
        <td>
          <div class="Para">
            This option tells whether editors are allowed to override the print margin column.
          </div>
        </td>
        <td>
          <div class="Para">
            false
          </div>
        </td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Show line numbers<br />
          </div>
        </td>
        <td>This option controls whether or not line numbers are shown on the left side of
        the text editor.<br /></td>
        <td>Off<br /></td>
      </tr>
      <tr>
        <td>
          <div class="Para">
            Show range indicator<br />
          </div>
        </td>
        <td>This option controls whether or not range indicators are shown in the text
        editor.<br /></td>
        <td>On<br /></td>
      </tr>
      <tr>
        <td class="c1">Show whitespace characters<br /></td>
        <td class="c2">This option controls whether to display whitespace characters in text editors.<br /></td>
        <td class="c2">Off<br /></td>
      </tr>
      <tr>
        <td class="c1">Show affordance in hover on how to make it sticky<br /></td>
        <td class="c2">This option controls whether to show an affordance in the hover on how to make it
        sticky.<br /></td>
        <td class="c2">On<br /></td>
      </tr>
      <tr>
        <td class="c1">Enable drag and drop of text<br /></td>
        <td class="c2">This option controls whether text drag and drop is enabled.<br /></td>
        <td class="c2">On<br /></td>
      </tr>
      <tr>
        <td class="c1">Warn before editing a derived file<br /></td>
        <td class="c2">This option controls whether to warn if a derived file is going to be edited.<br /></td>
        <td class="c2">On<br /></td>
      </tr>
      <tr>
        <td class="c1">Smart caret positioning at line start and end<br /></td>
        <td class="c2">This option controls whether the editor automatically positions the caret and the start or end
        of a line.<br /></td>
        <td class="c2">On<br /></td>
      </tr>
      <tr>
        <td class="c1">Show code minings for problem annotations:<br /></td>
        <td class="c2">This option controls for which sevirities the problem markers should be displayed as code
        minings in text editors.<br /></td>
        <td class="c2">None<br /></td>
      </tr>
      <tr>
        <td class="c1">Maximum annotations shown<br /></td>
        <td class="c2">This option controls the maximum number of problem annotations to show as code mining (too high
        number can have negative impact on performance).<br /></td>
        <td class="c2">100<br /></td>
      </tr>
      <tr>
        <td class="c2">Appearance color options<br /></td>
        <td class="c2">This option controls various appearance colors.<br /></td>
        <td class="c2"><br /></td>
      </tr>
    </tbody>
  </table>
  <h3 class="related">Related Reference</h3><a href="../concepts/concepts-6.htm">Editor</a><br />
</body>
</html>
